package com.ruoyi.project.modules.virtualUsageGroupDetail.service;

import java.util.List;

import com.ruoyi.project.modules.interfaceinfo.domain.VirtualUsage;
import com.ruoyi.project.modules.virtualUsageGroupDetail.domain.VirtualUsageGroupDetail;

/**
 * 虚拟用况组明细Service接口
 * 
 * @author smallrain
 * @date 2022-04-19
 */
public interface IVirtualUsageGroupDetailService 
{
    /**
     * 查询虚拟用况组明细
     * 
     * @param id 虚拟用况组明细主键
     * @return 虚拟用况组明细
     */
    public VirtualUsageGroupDetail selectVirtualUsageGroupDetailById(Long id);

    /**
     * 查询虚拟用况组明细列表
     * 
     * @param virtualUsageGroupDetail 虚拟用况组明细
     * @return 虚拟用况组明细集合
     */
    public List<VirtualUsageGroupDetail> selectVirtualUsageGroupDetailList(VirtualUsageGroupDetail virtualUsageGroupDetail);

    /**
     * 新增虚拟用况组明细
     * 
     * @param virtualUsageGroupDetail 虚拟用况组明细
     * @return 结果
     */
    public int insertVirtualUsageGroupDetail(VirtualUsageGroupDetail virtualUsageGroupDetail);

    /**
     * 修改虚拟用况组明细
     * 
     * @param virtualUsageGroupDetail 虚拟用况组明细
     * @return 结果
     */
    public int updateVirtualUsageGroupDetail(VirtualUsageGroupDetail virtualUsageGroupDetail);

    /**
     * 批量删除虚拟用况组明细
     * 
     * @param ids 需要删除的虚拟用况组明细主键集合
     * @return 结果
     */
    public int deleteVirtualUsageGroupDetailByIds(String ids);

    /**
     * 删除虚拟用况组明细信息
     * 
     * @param id 虚拟用况组明细主键
     * @return 结果
     */
    public int deleteVirtualUsageGroupDetailById(Long id);

    int saveVirtualUsage(VirtualUsageGroupDetail virtualUsageGroupDetail);

    List<VirtualUsage> virtualUsageList(Long id);
}
